package com.jas.main;

import com.jas.ui.JasDisplayHandler;
import com.jas.util.Language;

/**
 * This class contains the main entry point and also checks for the input by the
 * user.
 * 
 * 
 * 
 */
public class JasDriver {

	/**
	 * This main entry point of the program.
	 * 
	 * @param args
	 *            User's input parameter.
	 * */
	public static void main(String[] args) {

		Language.loadLanguageFile();
		showWelcomeMessage();

		JasDisplayHandler tbh = new JasDisplayHandler();

		tbh.executeUserCommand();
	}

	/**
	 * This method prints the welcome message upon program execution.
	 * 
	 * @param args
	 *            User's input parameter.
	 * **/
	private static void showWelcomeMessage() {

		String msg = Language.getString("WELCOME_MESSAGE");

		System.out.println(msg);

	}

}
